package cn.ad.server.domain.ad;

import java.io.Serializable;

/**
 * 系统行业分类
 * @author Wu Chengjun
 *
 */
public class Industry extends StatusAndDatePO implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1762763725237449113L;
	
	
	/**
	 * 父级行业标识
	 */
	private int parent_id;
	
	/**
	 * 父级行业
	 */
	private Industry parent;
	
	
	public Industry() {
		super();
	}

	
	
	public Industry(long id, int parent_id, String name) {
		super();
		this.id = id;
		this.parent_id = parent_id;
		this.name = name;
	}

	/**
	 * 行业分类名称，例如，体育，酒水， 旅游
	 */
	private String name;

	/**
	 * @return the parent_id
	 */
	public int getParent_id() {
		return parent_id;
	}

	/**
	 * @param parent_id the parent_id to set
	 */
	public void setParent_id(int parent_id) {
		this.parent_id = parent_id;
	}

	/**
	 * @return the parent
	 */
	public Industry getParent() {
		return parent;
	}

	/**
	 * @param parent the parent to set
	 */
	public void setParent(Industry parent) {
		this.parent = parent;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
}
